/**
 * Created by Administrator on 2018/9/3.
 * Author by malinyu
 * 2018 new project
 **/
(function() {
    if (typeof(WeixinJSBridge) == "undefined") {
        document.addEventListener("WeixinJSBridgeReady", function (e) {
            setTimeout(function () {
                WeixinJSBridge.invoke('setFontSizeCallback', {"fontSize": 0}, function (res) {
                    // alert(JSON.stringify(res));
                });
            }, 0);
        });
    } else {
        setTimeout(function () {
            WeixinJSBridge.invoke('setFontSizeCallback', {"fontSize": 0}, function (res) {
                // alert(JSON.stringify(res));
            });
        }, 0);
    }
});
